package ru.papergames.web.blines.battle.network.serverpackets;

/**
 * @author: atroshanin
 * Date: 19.06.2010
 * Time: 21:35:12
 */
public class BattleStartNotification extends WebServerServerPacket {
    private int battleId;

    @Override
    protected void readImpl() {
        battleId = readD();
    }

    @Override
    protected void runImpl() {
        getClient().getConnectionHolder().onBattleStart(battleId);
    }

    @Override
    public String getType() {
        return "[s ] BattleStartNotification[0x06]";
    }
}
